//
//  ItemModel.m
//  Lesson21_UI_瀑布流
//
//  Created by lanou3g on 15/5/13.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "ItemModel.h"

@implementation ItemModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

-(void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key    ];
    if ([key isEqualToString:@"coverWidth"]) {
        self.coverWidth=[value floatValue];
    }
    if ([key isEqualToString:@"coverHeight"]) {
        self.coverHeight=[value floatValue];
    }
    
}

@end
